package com.cjq.auth.service;

import com.cjq.common.domain.SysUser;
import com.cjq.common.domain.request.SysUserReq;
import com.cjq.common.domain.response.SysUserRes;
import com.cjq.common.result.Result;

public interface AuthService {
    /**
     * 账号密码登录
     * @param sysUserReq
     * @return
     */
    Result<SysUserRes> accountLogin(SysUserReq sysUserReq);

    /**
     * 获取用户信息
     * @return
     */
    Result<SysUser> userInfo();

    /**
     * 退出登录
     * @return
     */
    Result logout();
}
